import { http } from "/@/utils/http";

/** 查询成品列表 */
export const getListApi = (params) => {
  return http.request<YTableRemoteResult>("get", "/api/mes/finishe-product/list", { params });
};

/* 查询成品入库明细 */
export const getApi = (ids) => {
  return http.request("get", "/api/mes/finishe-product/" + ids);

}

/** 入库 */
export const inWarehouseApi = (data) => {
  return http.request("post", "/api/mes/finishe-product/in-warehouse", { data });
};
